package xyz.csmcool.imoss;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration;
import org.springframework.boot.autoconfigure.data.redis.RedisRepositoriesAutoConfiguration;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.stereotype.Component;

@SpringBootApplication(exclude = {
        RedisAutoConfiguration.class,
        RedisRepositoriesAutoConfiguration.class,
})
@ComponentScan({"xyz.csmcool.imutil.ExceptionHandler","xyz.csmcool.imoss"})
@EnableFeignClients
@EnableHystrix
public class ImossApplication {

    public static void main(String[] args) {
        SpringApplication.run(ImossApplication.class, args);
    }

}
